package cn.com.lms.business.learning.persistence.entity.vo;

import cn.com.lms.business.learning.persistence.entity.FbLearningStage;
import cn.com.lms.business.learning.persistence.entity.FbLearningStudent;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.data.domain.Page;

import java.util.Date;
import java.util.List;
import java.util.Map;

/*
 * @author liuwei
 * @date 2020/3/19 17:10
 * @desc 学习计划追踪详情
 */
@Data
public class LearningViewVo {

    private Long id;
    @Schema(description = "计划名称")
    private String planName;
    @Schema(description = "计划备注")
    private String remark;
    @Schema(description = "创建时间")
    private Date createTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Schema(description = "完成时间")
    private Date finishTime;
    @Schema(description = "封面图片")
    private String coverUrl;
    @Schema(description = "试题时长")
    private int studyTime;
    @Schema(description = "创建人名称")
    private String createName;
    @Schema(description = "分数")
    private Integer score;
    @Schema(description = "总参加人数")
    private Integer joinNum;
    @Schema(description = "总完成人数")
    private Integer finishNum;
    //学习阶段集合
    @Schema(description = "学习阶段集合")
    private List<FbLearningStage> stageList;

    @Schema(description = "指定学员集合")
    private List<Map<String, Object>> studentList;

    @Schema(description = "指定部门集合")
    private List<Map<String, Object>> deptList;

}
